package com.hqyj.dao;

import com.hqyj.pojo.TbBuilding;
import com.hqyj.pojo.TbDevice;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 * 设备表 Mapper 接口
 * </p>
 *
 * @author gp
 * @since 2021-09-25
 */
@Repository
public interface TbDeviceMapper extends BaseMapper<TbDevice> {
    @Select("select * from tb_device where name = #{name}")
    List<TbDevice> queryByName(String name);
}
